export default class GridCell {
    public col: number = 0;
    public row: number = 0;
    public constructor(col: number, row: number) {
        this.row = row;
        this.col = col;
    }

    public flowDir: cc.Vec2 = cc.v2();
    public cost: number | null = null;

    public get x() {
        return this.col;
    }

    public get y() {
        return this.row;
    }
}